#ifndef WIZARD_H
#define WIZARD_H

#include <QWizard>
#include <QSqlQuery>
#include <QtSql>
#include <QMessageBox>

namespace Ui {
    class Wizard;
}

class Wizard : public QWizard
{
    Q_OBJECT

public:
    explicit Wizard(QWidget *parent = 0);
    ~Wizard();

private:
    Ui::Wizard *ui;
    QSqlQueryModel *teststyle_model_wizard;
    QSqlQueryModel *subject_model_wizard;
    int m_wizard_subjectID;
    int m_wizard_teststyleID;
    QStringList ItemList;
    int m_wizard_PaperID;


private slots:
    void on_ButtonFilter_clicked();
    void on_ButtonAddToList_clicked();
    void on_comboBox_wizard_subject_currentIndexChanged ( int index ) ;
    void on_comboBox_wizard_teststyle_currentIndexChanged ( int index ) ;
    void on_ButtonRemoveRow_clicked();
    void accept();

    //void done(int result);

};

#endif // WIZARD_H
